import http from '@/utils/http.js'

/**
 * 获取用户信息
 * @param params
 * @returns
 */
export function getUserInfo(params) {
  return http.get('/user/info', {
    params,
    showLoading: true,
    showErrorToast: true
  })
}
